package com.ssy.lingxi.platform.manage.entity.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * 币制实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/09/25
 */
@Data
@Entity
@Table(schema = "public", name = "man_currency")
public class Currency {

    @Id
    @ApiModelProperty(value = "id")
    private Long id;

    @Column(name = "name_en")
    @ApiModelProperty(value = "币制英文简称")
    private String nameEn;

    @Column(name = "name")
    @ApiModelProperty(value = "币制中文名称")
    private String name;

    @Column(name = "symbol")
    @ApiModelProperty(value = "币制符号")
    private String symbol;

    @Column(name = "rule_type")
    @ApiModelProperty(value = "状态")
    private Integer state;

    @Column(name = "img_url")
    @ApiModelProperty(value = "币制图标")
    private String imgUrl;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;
}
